
/**
 * @file UnitTestOmain.c
 * @author liqiang (you@domain.com)
 * @brief 
 * @version 0.1
 * @date 2023-08-12
 * 
 * @copyright Copyright (c) 2023
 * 
 * 
 */
 
#include "UnitTestOmain.h"
#include "unity.h"

#include "HAL_Type.h" 
/**
 * @brief  
 * 
 * @param a 
 * @param b 
 * @param c 
 * @return uint32_t 
 */
//  \brief  brief
uint32_t average(uint32_t a,uint32_t b,uint32_t c){

    return (a+b+c)/3;
}

 void test_average(void){
	 u16	data1=0;
	 u16	data2=1;
	 

    TEST_ASSERT_EQUAL_HEX8(data1,data2);
 }

void UnitTestOmain(){

 
    UNITY_BEGIN();
 

    RUN_TEST(test_average);
 
    UNITY_END();
 


}


